package com.qf.business.course.feign;

import com.qf.commons.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * author Ken
 * create_time 2023/1/6
 */
@FeignClient(name = "course-server")
@RequestMapping("/course")
public interface CourseFeign {

    @RequestMapping("/updateStatus")
    R updateCourseStatus(@RequestParam("cid") Long cid, @RequestParam("status") Integer status);
}
